package com.mingxingyi.applet.utils;

import java.util.UUID;

public class GeneralSn {


    public static String getLoginToken() {
        return "ad" + UUID.randomUUID().toString().replace("-", "");
    }

    public static String getRefreshToken() {
        return "ac" + UUID.randomUUID().toString().replace("-", "");
    }

    public static String getShareToken(String id) {
        String s = "s" + UUID.randomUUID().toString().replace("-", "");
        return s.substring(0, 3) + id +s.substring(4, 8);
    }

}
